Skip to main content

Create Authorization Journey 1

This page will guide you through the authorization requests used by journey 1

Authorization request for recurring payment

Request

POST 'https://apisandbox.delbank.com.br/baas/api/v1/pix/automatic/authorizations'

Headers

NameDescription                            
AuthorizationRequired. API key
idempotencyKeyRequired. Guid

Body

NameTypeDescription
recurrenceIdstringOptional. Identifier of the recurrence
frequencyTypeenumRequired. Frequency type. Domains:
WEEKLY, MONTHLY, QUARTERLY, SEMIANNUALLY, ANNUALLY
recurrenceStartDatestringRequired. Start date of the recurrence
recurrenceEndDatestringOptional. End date of the recurrence
amountnumberOptional. Transaction amount
minPayerMaxAmountnumberOptional. Minimum allowed for payer's max amount
beneficiaryobjectRequired. Object containing all the info about the beneficiary
beneficiary.ispbstringRequired. ISPB code of the beneficiary
beneficiary.documentstringRequired. Document of the beneficiary (CPF/CNPJ)
beneficiary.namestringRequired. Fullname of the beneficiary
beneficiary.agencyNumberstringOptional. Beneficiary agency number
beneficiary.accountTypeenumOptional. Beneficiary account type. Domains:
CURRENT, WAGE, SAVINGS, PAYMENT
beneficiary.accountNumberstringOptional. Beneficiary account number
payerobjectRequired. Object containing all the info about the payer
payer.ispbstringRequired. ISPB code of the payer
payer.typeenumRequired. Type of the payer's document. Domains:
NATURAL - Natural Person
LEGAL - Legal Person
payer.documentstringRequired. Document of the payer (CPF/CNPJ)
payer.namestringOptional. Fullname of the payer
payer.agencyNumberstringOptional. Payer agency number
payer.accountTypeenumOptional. Payer account type. Domains:
CURRENT, WAGE, SAVINGS, PAYMENT
payer.accountNumberstringOptional. Payer account number
payer.municipalityIbgeCodenumberOptional. Payer's municipality IBGE code
debtorobjectOptional. Object containing all the info about the debtor
debtor.typeenumRequired. Type of the debtor's document. Domains:
NATURAL - Natural Person
LEGAL - Legal Person
debtor.documentstringRequired. Document of the debtor (CPF/CNPJ)
debtor.namestringRequired. Fullname of the debtor
contractNumberstringRequired. Contract number
contractDescriptionstringOptional. Description of the contract
requestExpiresAtstringRequired. Request expiration date/time
{
"recurrenceId": "RR3822485720250711nDNIOOcVSOr",
"frequencyType": "MONTHLY",
"recurrenceStartDate": "2025-06-29",
"recurrenceEndDate": "2026-06-29",
"amount": 150.75,
"minPayerMaxAmount": 150.75,
"beneficiary": {
"ispb": "38224857",
"document": "12345678901",
"name": "Fulano Ciclano",
"agencyNumber": "0001",
"accountType": "CURRENT",
"accountNumber": "31747"
},
"payer": {
"ispb": "38224857",
"type": "NATURAL",
"document": "07161543584",
"name": "Beltrano",
"agencyNumber": "0001",
"accountType": "CURRENT",
"accountNumber": "12345"
},
"debtor": {
"type": "NATURAL",
"document": "07161543584",
"name": "Beltrano"
},
"contractNumber": "CONTRATO123",
"contractDescription": "Assinatura Premium",
"requestExpiresAt": "2025-06-15T12:05:00.000Z"
}

Response

The status code 200 indicates success in the query.

Being succeeded, the return will have the following fields in Json format:

{
"recurrenceId": "RR3822485720250711nDNIOOcVSOr",
"requestAt": "2025-07-11T15:39:12.054"
}